import os


def read_config(file_path):
    config_info = {}
    with open(file_path, 'r') as file:
        for line in file:
            line = line.strip()
            if line and not line.startswith('#'):
                key, value = line.split('=', 1)
                config_info[key] = value
    return config_info


config = read_config(os.path.join(os.path.dirname(__file__), '..', 'config.txt'))
